package com.aizhixin.lab.statistics.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StudentVitalityDomain {
    @ApiModelProperty(value = "登陆次数")
    private Integer loginNum;
    @ApiModelProperty(value = "在线时长")
    private Integer onlineTime;
    @ApiModelProperty(value = "平均在线时长")
    private Integer avgTime;
    @ApiModelProperty(value = "最长在线时间")
    private Integer maxTime;
    @ApiModelProperty(value = "最高在线时长登录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date maxDataTime;
}
